﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 剪刀石头布游戏
{
    class Program
    {
        static void Main(string[] args)
        {
            ComputerPlayer computer = new ComputerPlayer();
            UserPlayer user = new UserPlayer();
            Judger judger = new Judger();
            Console.WriteLine("------------------------------------欢 迎 进 入 游 戏 世 界------------------------------------");
            Console.WriteLine("************************************************");
            Console.WriteLine("* **********************猜拳， 开始 *************");
            Console.WriteLine("出拳规则：1.剪刀2.石头3.布(请输入想应的数字)");
            Console.WriteLine("请选择对方角色：请选择对方角色 < 1:刘备 2.孙权 3.曹操 > ");
            int num = int.Parse(Console.ReadLine());
            string computreName = computer.getPlayerName(num);
            Console.WriteLine("请输入名字");
            string userName = Console.ReadLine();
            string personName = user.PersonName(userName);
            Console.WriteLine(computreName + " VS " + personName + " 对战");
            judger.statr(userName, computreName);

        }

    }
}
